<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <script>
        let obj = {
            name:"张三丰",
            skill:["太极拳","太极剑"]
        }
        function fn(){
            console.log(this);
            // setTimeout(()=>{
            //     console.log(this)
            // },1000)
            setTimeout(function(){
                console.log(this)
            },1000)
        }
        fn.call(obj);
        let fn4 = (...rest)=>{
            console.log(rest)
        }
        fn4(1,2,3,4)
    </script>
        
</body>
</html>